/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.synjones.pay.serv.transfer.service;

import com.synjones.pay.model.common.ResponseBean;
import com.synjones.pay.model.transfer.TransferReqBean;
import com.synjones.pay.model.transfer.TransferRespBean;
import com.synjones.pay.serv.dao.bean.TransferDao;


/**
 *
 * @author hsd
 */
public interface ITransferService {
    
    /**
     * 处理提交数据
     * @param reqBean
     * @return 
     */
    public TransferRespBean tradeProcess(TransferReqBean reqBean);
    
    /**
     * 保存订单
     * @param dao
     * @return 
     */
    public boolean save(TransferDao dao);
    
    /***
     * 更新订单状态
     * @param bean
     * @return 
     */
    public boolean updateOrderStatus(ResponseBean  bean);
    
    /***
     * 获取支付结果并返回指定信息
     * @param dao
     * @return 
     */
    public TransferRespBean getTradeResult(TransferDao dao);
}
